package com.yao.koin.api

import com.yao.koin.bean.Banner
import com.yao.koin.bean.BannerChild
import com.yao.koin.bean.DataX
import com.yao.koin.bean.GrilParent
import retrofit2.http.GET
import retrofit2.http.Path

interface GanService {

    companion object {
        const val BASE_URL = "https://gank.io/api/v2/"
    }

    @GET("data/category/Girl/type/Girl/page/{page}/count/10")
    suspend fun getGrid02List(@Path("page") page: Int): GrilParent<List<DataX>>


    @GET("banners")
    suspend fun getBanners(): Banner<List<BannerChild>>




}